package ScoreBL;

import java.rmi.RemoteException;

import vo.ScoreCellVO;
import vo.ScoreVO;

public class MockScoreController implements ScoreLogicService
{

	@Override
	public boolean insertCell(ScoreCellVO aim) throws RemoteException
	{
		return true;
	}

	@Override
	public ScoreVO getOfStudent(String studentID) throws RemoteException
	{
		ScoreVO result = new ScoreVO();
		ScoreCellVO scv = new ScoreCellVO();
		scv.lessonID="test";
		scv.score="0";
		scv.studentID="test001";
		result.list.add(scv);
		return result;
		
	}

	@Override
	public boolean set(ScoreVO aim) throws RemoteException
	{
		return true;
	}

	@Override
	public ScoreVO getOfTeacher(String LessonID) throws RemoteException
	{
		ScoreVO result = new ScoreVO();
		ScoreCellVO scv = new ScoreCellVO();
		scv.lessonID="test";
		scv.score="0";
		scv.studentID="test001";
		result.list.add(scv);
		return result;
	}

	@Override
	public boolean delCell(ScoreCellVO aim) throws RemoteException
	{
		return true;
	}

}
